#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(unused)]
// include!(concat!(env!("OUT_DIR"), "/bindings.rs"));


#[cfg(oh_api_version="9")]
include!("api9.rs");

#[cfg(oh_api_version="10")]
include!("api10.rs");



pub fn add(a: i32, b: i32) -> i32 {
    a + b
}

#[cfg(test)]
mod test {
    use super::*;

    #[test]
    fn it_works() {

        #[cfg(oh_api_version="10")]
        println!("api 10");

        assert_eq!(3, add(1, 2));
    }
}